package vl06.synchronisation;

public class MainCounter {
	public static void main(String[] args) {
		Thread[] threads = new Thread[10];
		CentralCounter centralCounter = new CentralCounter();
		for (int i = 0; i < 10; ++i) {
			threads[i] = new CounterThread("Counter-" + i, centralCounter);
		}
		for (Thread t : threads) {
			t.start();
		}
	}

}
